<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>金贵银业-招聘岗位详情-{$site_name}</title>
		<link rel="stylesheet" href="__PUBLIC__/css/style.css">
		<link rel="stylesheet" href="__PUBLIC__/css/global.css">
		<link rel="stylesheet" href="__PUBLIC__/css/index_style.css">
		<link rel="stylesheet" href="__PUBLIC__/css/index2.css">
		<link rel="stylesheet" href="__PUBLIC__/css/common.css" />
		<script type="text/javascript" src="__PUBLIC__/js/index2.js"></script>
		<script type="text/javascript">
		function submitResume(){
			document.getElementById("ApplyJob").style.display="block";
			document.getElementById("shadeDiv").style.display="block";
		}

		function confirmUpload(){
			//不限制数量AJAX图片上传功能
			var data = new FormData();
			$.each($('#resume')[0].files, function (i, file) {
				data.append('resume', file);
			});

			data.append('pos_id', $("#pos_id").val());
			data.append('name', $("#name").val());
			data.append('email', $("#email").val());
			data.append('mobile', $("#mobile").val());

			var url = '__URL__apply_jobs';
			$.ajax({
				url: url,
				type: 'POST',
				data: data,
				dataType: 'html',
				cache: false,
				contentType: false,		//不可缺参数
				processData: false,		//不可缺参数
				success: function (data) {
					if(data=="true"){
						closeDiv();
						alert("恭喜您！职位申请成功，投递越多，机会越多哦");
					}else if(data=="false"){
						closeDiv();
						alert("投递失败");
					}else{
						alert("请上传简历");
					}
				},
				error: function () {
					alert('AJAX错误，请联系技术人员');
					return;
				}
			});
		}
		function closeDiv(){
			document.getElementById("ApplyJob").style.display="none";
			document.getElementById("shadeDiv").style.display="none";
		}
		</script>
	</head>

	<body>	
		<header>
			<div style="max-width:100%;min-width: 1000px; height: 475px; background: url(__PUBLIC__/img/head_zp.jpg) no-repeat center; background-size: cover;">

				<div style=" width: 1000px; height: 50px; margin: 0 auto;">

					<include file="Public:head_search" />
				</div>
				<div style="background: url(__PUBLIC__/img/1_02.jpg) no-repeat;">
					<div style=" width: 1000px; margin: 0 auto; background: url(img/1_03.jpg) no-repeat;">
						<img style="margin-left: 36px;" src="__PUBLIC__/img/1_07.jpg" />
						<include file="Public/nav" />
					</div>
				</div>
			</div>
		</header>


		<div class="content" style="background:#FFFFFF url(__PUBLIC__/img/indexbg_02.jpg) no-repeat center;background-position: -8px 0px;max-width:100%;min-width: 1000px;">

			<div id="borderColor" style="margin: 0 auto; width: 1000px; height: auto;background:#FFFFFF;top: -10px;position: relative;">

				<div class="fl box-shadow-2" style="border-top: 10px #db261f solid; width: 225px;">
					<div style="text-align: center; padding-top: 30px; padding-bottom: 10px;">
						<img src="__PUBLIC__/img/W_05.jpg" />
					</div>

					<div class="menu_left">

						<ul style="background: url(__PUBLIC__/img/WH_07.jpg) no-repeat 0 0; padding-top: 20px;">
							<li>
								<a href="__URL__concept_content">用人理念</a>
							</li>
							<if condition="$position_info.class eq 1">
								<li class="show"><a href="__URL__recruit_jobs">社会招聘</a></li>
							<else/>
								<li><a href="__URL__recruit_jobs">社会招聘</a></li>
							</if>
							<if condition="$position_info.class eq 2">
								<li class="show"><a href="__URL__recruit_jobs_sh">学校招聘</a></li>
							<else/>
								<li><a href="__URL__recruit_jobs_sh">学校招聘</a></li>
							</if>
						</ul>

					</div>
					<div style="clear: both;"></div>
					<div style="text-align: center; padding-top: 45px;background: url(__PUBLIC__/img/WH_07.jpg) no-repeat 0 0;">
						<img src="__PUBLIC__/img/W_03-01.jpg" />
					</div>

				</div>
				<div class="fr" style="border-top: 10px #b59e58 solid; width: 775px;">
					<div style="width: 722px;margin: 0 auto;margin-top: 42px;">
						<h3 style="font-size: 21px;font-weight: 500;line-height: 29px;">招聘岗位详情</h3>
						<img src="__PUBLIC__/img/WG_03.jpg" />
					</div>

					<div style="width: 722px;margin: 0 auto;margin-top:15px;">
					<table style="width:100%;border-collapse: collapse;border-color: #666666;" border=1>
						<tbody>
						<tr style="height:35px;">
							<th style="background-color:#efeff1;">职位名称</th>
							<td align="center">{$position_info.name}</td>
							<th style="background-color:#efeff1;">职位类型</th>
							<td align="center">{$position_info.industry}</td>
						</tr>
						<tr style="height:35px;">
							<th style="background-color:#efeff1;">招聘人数</th>
							<td align="center">{$position_info.num}</td>
							<th style="background-color:#efeff1;">性别</th>
							<td align="center">{$position_info.sex}</td>
						</tr>
						<tr style="height:35px;">
							<th style="background-color:#efeff1;">工作地区</th>
							<td align="center">{$position_info.place}</td>
							<th style="background-color:#efeff1;">薪水范围</th>
							<td align="center">{$position_info.salary}</td>
						</tr>
						<tr style="height:35px;">
							<th style="background-color:#efeff1;">工作年限</th>
							<td align="center">{$position_info.gzjy}</td>
							<th style="background-color:#efeff1;">工作性质</th>
							<td align="center">{$position_info.xinzi}</td>
						</tr>
						<tr style="height:35px;">
							<th style="background-color:#efeff1;">学历要求：</th>
							<td align="center">{$position_info.zdxl}</td>
							<th style="background-color:#efeff1;">年龄要求</th>
							<td align="center">{$position_info.age}</td>
						</tr>
						<tr style="height:35px;">
							<th style="background-color:#efeff1;">发布日期</th>
							<td align="center">{$position_info.create_time|date='Y-m-d',###}</td>
							<th style="background-color:#efeff1;">截止日期：</th>
							<td align="center">{$position_info.end_time|date='Y-m-d',###}</td>
						</tr>
						<tr>
							<th style="background-color:#efeff1;">职位描述</th>
							<td colspan="3"><p style="margin-left:10px;margin-top:10px;">
								{$position_info.content}
							</td>
						</tr>
						</tbody>
					</table>
						
						<div style="clear: both;"></div>
						<div class="pager">
							<input type="button" style="background:url(__PUBLIC__/img/5_03.jpg);width:150px;height:40px;border: none;no-repeat;cursor:pointer;" onclick="submitResume()">
						</div>
					</div>

				</div>
				<div style="clear: both;">&nbsp;</div>
			</div>

		</div>

		<include file="Public/footer" />
<!--遮罩层-->
<div id="shadeDiv" style="display:none;position: absolute;  top: 0%;  left: 0%;  width: 100%;  height: 156%;  background-color: #E3E3E5;  z-index:1001;  -moz-opacity: 0.7;  opacity:.70;  filter: alpha(opacity=70);">		
</div>		

<div id='ApplyJob' style="display:none;POSITION:fixed; left:58%; top:50%; width:450px; height:270px; margin-left:-300px; margin-top:-200px; border:1px solid #888; background-color:#ffffff; z-index:1002;  overflow: auto;">

	<div style="height:35px;width:100%;background-color:#efeff1;">
		<strong style="margin-left:15px;font-size:16px;">申请职位</strong>
		<img style="margin-left: 330px;margin-top:7px;cursor:pointer;" onclick="closeDiv()" src="__PUBLIC__/img/close.jpg" />
	</div>
	&nbsp;
	<div>
		<form action="" method="post">
		<table style="width:90%;" align="center" border=0>
			<tr style="height:40px;">
				<input type="hidden" id="pos_id" value="{$position_info.pos_id}"/>
				<td align="right" style="width:70px;">*姓名：</td>
				<td>&nbsp; &nbsp;<input type="text" id="name" size="45" style="height:30px;"> </td>
			</tr>
			<tr style="height:40px;">
				<td align="right">*联系邮箱：</td>
				<td>&nbsp; &nbsp;<input type="text" id="email" size="45" style="height:30px;"> </td>
			</tr>
			<tr style="height:40px;">
				<td align="right">*联系电话：</td>
				<td>&nbsp; &nbsp;<input type="text" id="mobile" size="45" style="height:30px;"> </td>
			</tr>
			<tr style="height:40px;">
				<td align="right">*上传简历：</td>
				<td align="left">&nbsp; &nbsp;<input type="file" name="resume" id="resume" style="width:200px;"/>
					<input type="button" onclick="confirmUpload()" value="确认上传" style="background-color:#da251e;border:none;color:#ffffff;width:94px;height:28px;cursor:pointer;">
				</td>
			</tr>
			<tr>
				<td></td>
				<td align="left">&nbsp; &nbsp;(*简历附件文件格式为doc/zip/rar/txt)</td>
			</tr>
		</table>
			</form>
	</div>
</div>		
		
		<script src='__PUBLIC__/js/jquery-1.8.3.min.js'></script>
		<script src="__PUBLIC__/js/index.js"></script>
	</body>

</html>